package com.rdzn.mall.center.service;

import com.rdzn.mall.center.entity.PmsProductHot;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: pms_product_hot
 * @Author: jeecg-boot
 * @Date:   2020-10-13
 * @Version: V1.0
 */
public interface IPmsProductHotService extends IService<PmsProductHot> {

    /**
     * 刷新商品热度
     * @param productId
     * @return
     */
    PmsProductHot refresh(Integer productId);

    PmsProductHot getByProductId(Integer productId);
}
